package com.xxx.start;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author Flying
 * @Description
 * @Date 16:58 2019/4/16
 * @Param 
 * @return 
 */
@SpringBootApplication
//@SpringBootApplication
@MapperScan(value = {"com.xxx.dao"})
@ComponentScan(value = "com.xxx.redis")
public class ProgramStart {

    public static void main(String[] args) throws Exception{
        SpringApplication.run(ProgramStart.class, args);
    }
}